package ex1.teste;

import java.util.Random;

import ex1.model.Container;

public class ContainerTeste {
	public static boolean run() {
		int i, j;
		int m, k;
		
		Random r = new Random();
		m = r.nextInt(32);
		k = r.nextInt(32);
		
		Container.set(m, k);
		
		for( i = 0; i < m; ++i ) {
			for( j = 0; j < k; j++ ) {
				if( Container.matrix[i][j] != Container.matrixTrans[j][i] ) {
					return false;
				}
			}
		}
		return true;
	}
}
